package com.xique.door.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xique.door.bean.domain.OpenDoorRecord;
import com.xique.door.project.miniprogram.bean.request.MiniOpenDoorRecordRequest;

import java.util.List;

/**
 * @author shd
 * @create 2022/4/20 14:57
 */
public interface IOpenDoorRecordService extends IService<OpenDoorRecord> {

    /**
     * 查询开门记录
     * @author shd
     * @date 2022/4/20 15:22
     * @param request
     * @return java.util.List<com.xique.door.bean.domain.OpenDoorRecord>
     */
    List<OpenDoorRecord> selectRecordList(MiniOpenDoorRecordRequest request);

    /**
     * 查询开门记录(分页)
     * @author shd
     * @date 2022/4/21 14:19
     * @param request
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.xique.door.bean.domain.OpenDoorRecord>
     */
    IPage<OpenDoorRecord> selectRecordPage(MiniOpenDoorRecordRequest request);
}
